package com.itheima.userdemo.domain;

import java.io.Serializable;
import java.util.Date;

public class Message implements Serializable {
    private Date visitTime;
    private long consumerTime;
    private String methodName;
    private String path;

    public Date getVisitTime() {
        return visitTime;
    }

    public void setVisitTime(Date visitTime) {
        this.visitTime = visitTime;
    }

    public long getConsumerTime() {
        return consumerTime;
    }

    public void setConsumerTime(long consumerTime) {
        this.consumerTime = consumerTime;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    @Override
    public String toString() {
        return "Message{" +
                "visitTime=" + visitTime +
                ", consumerTime=" + consumerTime +
                ", methodName='" + methodName + '\'' +
                ", path='" + path + '\'' +
                '}';
    }
}
